/*
*  统一对 组件、插件、全局方法、属性进行管理
*/

import { useComponents } from './useComponents'
import Antd from 'ant-design-vue';
import { useRequireSvg } from '@/assets'
import "viewerjs/dist/viewer.css";
import VueViewer from "v-viewer";
import { useAppMethods } from './useProperties'
import vcolorpicker from 'vcolorpicker'
import JsonViewer from "vue-json-viewer";
import VueExcelEditor from 'vue-excel-editor'



export const usePlugins = vm => {
    useAppMethods(vm)
    useComponents(vm)
    vm.use(Antd)
    vm.use(VueViewer)
    vm.use(vcolorpicker)
    vm.use(JsonViewer)
    vm.use(VueExcelEditor)
    useRequireSvg()
}
